!rm costs.eps
set terminal postscript eps enhanced
set output "costs.eps"
set size 3/5., 1.5/3.
set xlabel "Start time of next execution"
set ylabel "Cost"

#set key left top
#set key left bottom
#set nokey

#set grid

set pointsize 1.1

#set xtics 4,1

plot [0:3][]  \
"statecost.dat" with lines lt 1 lw 1 title "Control cost",\
"cpucost.dat" with lines lt 1 lw 1 title "CPU cost",\
"taskcost_rho1.dat" with lines lt 1 lw 2 title "Combined cost",\
"taskcost_rho2.dat" with lines lt 1 lw 2 title "Combined cost"


